const process = require('child_process');
const comName = require('./build/componentName');

process.exec(`scp -r dist/* root@39.105.34.143:/home/h5/${comName}`, (error) => {
  if (error) {
    console.log(`exec error: ${error}`);
  }
});
